export default {
  //  路由类型
  ROUTE_TYPE: {
    ONLY_ROUTE: 'only_route', // 只有路由没有菜单
    MENU_ROUTE: 'menu_route', // 有路由的菜单
    MENU_GROUP: 'menu_group' // 菜单组
  },
  //  加载遮罩层的类型
  LOADING_TYPE: {
    CIRCLE: `
        <div class="sk-circle sk-primary">
          <div class="sk-circle1 sk-child"></div>
          <div class="sk-circle2 sk-child"></div>
          <div class="sk-circle3 sk-child"></div>
          <div class="sk-circle4 sk-child"></div>
          <div class="sk-circle5 sk-child"></div>
          <div class="sk-circle6 sk-child"></div>
          <div class="sk-circle7 sk-child"></div>
          <div class="sk-circle8 sk-child"></div>
          <div class="sk-circle9 sk-child"></div>
          <div class="sk-circle10 sk-child"></div>
          <div class="sk-circle11 sk-child"></div>
          <div class="sk-circle12 sk-child"></div>
        </div>
        <h5 class="text-center mb-0">{{message}}</h5>`,
    DOUBLE_BOUNCE: `
        <div class="sk-double-bounce sk-primary">
            <div class="sk-child sk-double-bounce1"></div>
            <div class="sk-child sk-double-bounce2"></div>
        </div>
        <h5 class="text-center mb-0">{{message}}</h5>`,
    THREE_BOUNCE: `
        <div class="sk-three-bounce sk-primary">
            <div class="sk-child sk-bounce1"></div>
            <div class="sk-child sk-bounce2"></div>
            <div class="sk-child sk-bounce3"></div>
        </div>
        <h5 class="text-center mb-0">{{message}}</h5>`,
    WAVE: `
        <div class="sk-wave sk-primary">
            <div class="sk-rect sk-rect1"></div>
            <div class="sk-rect sk-rect2"></div>
            <div class="sk-rect sk-rect3"></div>
            <div class="sk-rect sk-rect4"></div>
            <div class="sk-rect sk-rect5"></div>
        </div>
        <h5 class="text-center mb-0">{{message}}</h5>`
  },
  // 判定工具的配置对象（临时做法，回头要把保存按钮写入子组件中）
  DECIDE_TOOL_CONFIG: {
      'contains' : {
          hasDeterminationData: true,
          determinationData: {"containStr": ""},
          icon: '/static/img/skywares/icon-yunsuan-baokuo.png'
      },
      'gt' : {
          hasDeterminationData: true,
          determinationData: {"gt": 300},
          icon: '/static/img/skywares/icon-yunsuan-dayu.png'
      },
      'lt' : {
          hasDeterminationData: true,
          determinationData:{"lt": 500},
          icon: '/static/img/skywares/icon-yunsuan-xiaoyu.png',
      },
      'ownerchangecount' : {
          hasDeterminationData: true,
          determinationData:{"monthBefore":36,"chgCount":0},
          icon: '/static/img/skywares/icon-yunsuan-qujian.png',
      },
      'weekBefore' : {
          hasDeterminationData: true,
          determinationData:{"weekBefore": 18},
          icon: '/static/img/skywares/icon-yunsuan-budengyu.png',
      },
      'dayBefore' : {
          hasDeterminationData: true,
          determinationData:{"dayBefore":18},
          icon: '/static/img/skywares/icon-yunsuan-dengyu.png',
      },
      'dateBetween' : {
          hasDeterminationData: true,
          determinationData:{"startDate":"2018-08-02","endDate":"2018-08-29"}
      },
      'beContained' : {
          hasDeterminationData: true,
          determinationData:{"beContained":"合伙企业,企业法人"}
      },
      'isEmpty' : {
          hasDeterminationData: false,
          determinationData: null,
      },
      'monthBefore' : {
          hasDeterminationData: true,
          determinationData: {"monthBefore": "18"}
      }
  }
}
